package cn.fxl.org.domain;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.fxl.basic.domain.BasicDomain;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.util.Date;

@Data
public class Shop extends BasicDomain {
    @Excel(name = "店铺名称",orderNum = "1",width = 20)
    private String name;
    @Excel(name = "店铺电话",orderNum = "2",width = 20)
    private String tel;
    @Excel(name = "店铺注册时间",orderNum = "3",width = 20,exportFormat = "yyyy-MM-dd")
    @JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date registerTime =new Date();
    private Integer state =1;
    @Excel(name = "店铺地址",orderNum = "4",width = 20)
    private String address;
    private String logo;
    //管理员id
    private Long admin_id;
    private Employee admin;
}
